<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vip_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vip_name" data-rule="required" class="form-control" name="row[vip_name]" type="text" value="{$row.vip_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vip_rule')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-vip_rule" data-rule="required" class="form-control" name="row[vip_rule]" type="text" value="{$row.vip_rule|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Vip_icon')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-vip_icon" data-rule="required" class="form-control" size="50" name="row[vip_icon]" type="text" value="{$row.vip_icon|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-vip_icon" class="btn btn-danger faupload" data-input-id="c-vip_icon" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-vip_icon"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-vip_icon" class="btn btn-primary fachoose" data-input-id="c-vip_icon" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-vip_icon"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-vip_icon"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">基础价格:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-basic_price" data-rule="required" class="form-control" step="0.01" name="row[basic_price]" placeholder="单位(元)" type="number" value="{$row.basic_price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">选门店金额:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_money" data-rule="required" class="form-control" step="0.01" name="row[store_money]" type="number" placeholder="单位(元)" value="{$row.store_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">不选门店金额:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_false_money" data-rule="required" class="form-control" step="0.01" name="row[store_false_money]" type="number" placeholder="单位(元)" value="{$row.store_false_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Match_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-match_money" data-rule="required" class="form-control" step="0.01" name="row[match_money]" type="number" placeholder="单位(元)" value="{$row.match_money|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Captain_rebate')}(%):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-captain_rebate" data-rule="required" class="form-control" step="0.01" name="row[captain_rebate]" type="number" placeholder="eg:5 返点比例为5%" value="{$row.captain_rebate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Store_rebate')}(%):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-store_rebate" data-rule="required" class="form-control" step="0.01" name="row[store_rebate]" type="number" placeholder="eg:5 返点比例为5%" value="{$row.store_rebate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">代理返点(%):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-proxy_rebate" data-rule="required" class="form-control" step="0.01" name="row[proxy_rebate]" placeholder="eg:5 返点比例为5%" type="number" value="{$row.proxy_rebate|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">平台费率(%):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-platform_rebate" data-rule="required" class="form-control" step="0.01" name="row[platform_rebate]" placeholder="eg:5 返点比例为5%" type="number" value="{$row.platform_rebate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">晋级场次:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-all_count" data-rule="required" class="form-control" name="row[all_count]" type="number" value="{$row.all_count|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">助教价格:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-assistant_price" data-rule="required" class="form-control" name="row[assistant_price]" type="number" value="{$row.assistant_price|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">助教时间(分钟):</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time_unit" data-rule="required" class="form-control" name="row[time_unit]" type="number" value="{$row.time_unit|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remarks')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remarks" data-rule="required" class="form-control" name="row[remarks]" type="text" value="{$row.remarks|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:$row.update_time?datetime($row.update_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Delete')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-delete" data-rule="required" class="form-control selectpicker" name="row[delete]">
                {foreach name="deleteList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.delete"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
